package com.xiaoxu.rental.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaoxu.rental.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author xtq
* @description 针对表【busi_order】的数据库操作Mapper
* @createDate 2024-07-26 08:47:27
* @Entity rental.entity.Order
*/
public interface OrderMapper extends BaseMapper<Order> {

    Page<Order> searchUnfinished(@Param("page") Page<Order> page,
                                 @Param("order") Order order);

    Page<Order> search(Page<Order> page, Order order);

    long countViolation(Integer autoId);
}




